package com.atguigu.gulimall.product.service;

import com.atguigu.common.utils.R;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.Map;

/**
 * Ʒ
 *
 * @author zhengwu
 * @email jiachao@163.com
 * @date 2020-10-08 21:49:59
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrandName(Long brandId, String name);

    void updateCategoryName(Long catId, String name);

    /**
     * @param * @param catId
     * @Date:11:43 2020/12/20 0020
     * @Description:获取分类关联的品牌
     * @retrun com.atguigu.common.utils.R
     */
    R getBrandBycatId(Long catId);
}

